A rationale for semantically enhanced library languages

نویسنده

  • Bjarne Stroustrup
چکیده

This paper presents the rationale for a novel approach to providing expressive, teachable, maintainable, and cost-effective special-purpose languages: A Semantically Enhanced Library Language (a SEL language or a SELL) is a dialect created by supersetting a language using a library and then subsetting the result using a tool that “understands” the syntax and semantics of both the underlying language and the library. The resulting language can be about as expressive as a specialpurpose language and provide as good semantic guarantees as a special-purpose language. However, a SELL can rely on the tool chain and user community of a major generalpurpose programming language. The examples of SELLs presented here (Safe C++, Parallel C++, and Real-time C++) are based on C++ and the Pivot program analysis and transformation infrastructure. As part of the rationale, the paper discusses practical problems with various popular approaches to providing special-purpose features, such as compiler options and preprocessors.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Comparative Study of English and Persian Advertising Slogans: Linguistic Means through the Sands of Time

This study was a contrastive analysis of the evolution of English and Persian advertising slogans to investigate their similarities/differences in using rhetorical figures, and the evolution in the use of these figures in the slogans of each language. Thus, 800 Persian and English slogans from the last four decades were collected. Lapsanka's framework (2006) including different aspects with som...

متن کامل

A concept for a global knowledge space for the COLLNET community

Main objective of the COLDLib project is the development of a global knowledge space for the interdisciplinary research network “Collaboration in Science and in Technology” COLLNET to collect, combine and enrich the existing knowledge in the field of quantitative aspects of science of science, collaboration and communication in science and technology, science policy, combination and integration...

متن کامل

Dialogue System Localization with the GF Resource Grammar Library

We present two experiments in the localization of spoken dialogue systems. The domain of the dialogue system is an MP3 application for automobiles. In the first experiment, a grammar in Nuance GSL format was rewritten in Grammatical Framework (GF). Within GF, the grammar was extended from two to six languages, giving a baseline for semantically complete grammars. In the second experiment, the G...

متن کامل

Enabling cross-library optimization and compile-time error checking in the presence of procedural macros

Libraries and top-level programs are the basic units of portable code in the language defined by the Revised Report on Scheme. As such, they are naturally treated as compilation units, with source optimization and certain forms of compile-time error checking occurring within but not across library and program boundaries. This paper describes a library-group form that can be used to turn a group...

متن کامل

The rise and fall of semantic alignment in North Halmahera, Indonesia

Among the non-Austronesian languages of Eastern Indonesia one commonly finds pronominal systems which exhibit more than one morphological pattern for indexing single arguments of intransitive verbs. In such languages core arguments are semantically aligned. That is, the two patterns for marking the single argument of an intransitive verb are distinguished not only formally, but also semanticall...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005